package com.qf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.TlPerson;
import org.apache.ibatis.annotations.Insert;

public interface PersonMapper extends BaseMapper<TlPerson> {

    //添加乘车人
    @Insert("insert into tl_person (user_id,person_name,person_card,person_tel,person_flag) values (#{arg0},#{arg1},#{arg2},#{arg3},#{arg4})")
    int insert(Integer userId,String personName,String personCard,String personTel,Integer personFlag);
}
